#coding=utf-8
import xml.etree.ElementTree as ET

#读取文件
tree = ET.parse('D:\hrjk\knime\knime2oozie\workflow.knime')
root = tree.getroot()

获得